home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Original Shareware 1.1
/
The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso
/
30
/
autosn31.zip
/
SCANIT.BAT
< prev
Wrap
DOS Batch File
|
1991-05-07
|
662b
|
21 lines
echo off
AUTOSCAN /q %1 %2 %3 %4
rem ErrorLevel 1 - AutoScan error or no disk space
rem ErrorLevel 2 - No New Files.
rem ErrorLevel 3 - Bad Archive - Will rename to filename.BAD
rem ErrorLevel 4 - virus found - Will rename to filename.BAD
if errorlevel 4 goto virus
if errorlevel 3 goto exit
if errorlevel 2 goto exit
if errorlevel 1 goto exit
:Novirus
rem Ad is my batch file to add Zip Comments
call c:\dos\ad *.zip
goto exit
:Virus
echo ********************** WARNING *************************
echo * Possible Virus - Read AUTOSCAN.LOG for details!!!!!! *
echo ********************************************************
:exit
rem All Done